package com.system.service;

import java.util.List;
import java.util.Set;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.system.dto.PermissionDTO;
import com.system.entity.Permission;

public interface IPermissionService {
	public void saveOrUpdate(Permission permission);
	public void delete(Long id);
	public void delete(List<Long> ids);
	public Permission findOne(Long id);
	public Page<PermissionDTO> findPage(Specification<Permission> spec,Pageable pageable);
	public List<Permission> findAll();
	public Set<String> getTheUrl(String staffNum);

}
